package com.cjm.one.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjm.one.model.system.entity.SysPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 29289
* @description 针对表【sys_post(岗位表)】的数据库操作Mapper
* @createDate 2024-09-05 16:21:14
* @Entity com.one.model.system.entity.SysPost
*/

public interface SysPostMapper extends BaseMapper<SysPost> {
    //根据系统用户id删除所属的岗位
    void deleteBySysUserId(Long userId);

    void insertSysUserPost(Long id, List<Long> postIds);
}




